package com.atguigu.lease.web.admin.service;

import com.atguigu.lease.web.admin.vo.login.CaptchaVo;
import com.atguigu.lease.web.admin.vo.login.LoginVo;
import com.atguigu.lease.web.admin.vo.system.user.SystemUserInfoVo;

public interface LoginService {

    /**
     * @Desceription: 获取图形验证码
     * @Return: com.atguigu.lease.web.admin.vo.login.CaptchaVo
     * @Author: yangchengbao
     * @Date: 2024-12-13 15:12:13
     */
    CaptchaVo getCaptcha();

    /**
     * @param loginVo
     * @Desceription: 登录
     * @Return: java.lang.String
     * @Author: yangchengbao
     * @Date: 2024-12-13 15:12:84
     */
    String login(LoginVo loginVo);

    /**
     * @param userId
     * @Desceription: 获取登录用户个人信息
     * @Return: com.atguigu.lease.web.admin.vo.system.user.SystemUserInfoVo
     * @Author: yangchengbao
     * @Date: 2025-01-04 12:01:06
     */
    SystemUserInfoVo getLoginUserInfoByUserId(Long userId);
}
